<?php
  $pid = $_GET['pid'];
  $con = mysql_connect("mysql1.000webhost.com", "a7424976_info", "thebest5");
	$res = mysql_select_db("a7424976_info");
	
	$queryres = mysql_query("UPDATE mode SET state=$pid");
	header("location: index.html");
	mysql_close($con);
	
?>